home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7249 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.7 KB

  1. Path: pegasus.montclair.edu!harmon
  2. From: harmon@pegasus.montclair.edu (Derek Harmon)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Processing C language listings -- Help!
  5. Date: 9 Feb 1996 03:00:11 -0500
  6. Organization: Montclair State University
  7. Message-ID: <harmon.823852728@pegasus.montclair.edu>
  8. References: <DME4BM.6Mz@freenet.carleton.ca>
  9. NNTP-Posting-Host: pegasus.montclair.edu
  10. X-Newsreader: NN version 6.5.0 #68 (NOV)
  11.  
  12. ** Quoting a message by <ac355@FreeNet.Carleton.CA> dated <07-Feb-1996>:
  13.  
  14. >    Word (version 7) for Windows.  Much of the manual involves importing
  15. > program listings in C, C++ and Microsoft Visual C.  Word is destroying all
  16. > the listings I am trying to import.
  17.  
  18.    I know the problem well !!!  :)  Actually for me it's Ami Pro...
  19.  
  20. >                                      The proportional fonts are destroying
  21. > all the tabs and spaces.  Also there is very little distinction between ls
  22. > and 1, Os and 0s and so on.  What is also aggravating with Word is that
  23. > insists on changing all my single and double typewriter style quotes into
  24. > front and backwards pointing quotes
  25.  
  26.    Never had the problem with quote marks, I guess Word is just more sinister
  27. about these things.  But you say it yourself, the proportional fonts are de-
  28. stroying your spacing.  First, use a utility or p.d. text editor to convert
  29. all your tabs to spaces (I have to do that very thing before uploading these
  30. messages to this group, Borland's IDE sticks tabs through my code snippets).
  31. Tab stops vary between page styles.  Second, use a fixed font (you go on to
  32. say this isn't possible?).. it shouldn't be a case of having to download fonts
  33. to your printer and having no Monospaced (often denoted MS, such as MS Serif)
  34. fonts, especially if you are using Windows and TrueType fonts.  Yeah, its
  35. scraping the bottom of the barrel, but virtually all Windows installations
  36. have the System Fixed Font.  If you don't have it, your dialog boxes probably
  37. would look funny.  :)
  38.  
  39.    Another thing I watch for is CRs/LFs rolling lines onto the same line, even
  40. when importing ASCII in Ami Pro.  There are a few options that can be finnagled
  41. though, and then I "Insert" (not "Open") the ASCII document into a .SAM docu-
  42. ment.  This has just been a problem in my experience.
  43.  
  44.    Ok, there are no C snippets in this post -- but try presenting your C source
  45. to a manager or professor printed via "type source.c > prn" compared to Ami Pro
  46. with italicized variables and bold keywords, and you'll understand.
  47.  
  48.                                                             -- Stone
  49. --
  50. # Derek Harmon (aka Stonelight)    harmon@pegasus.montclair.edu
  51. # - Computer Science Undergrad, Montclair State University, NJ
  52. # - My views are my own, nobody else is this creative.  3;)>
  53. ... Santa's elves are just a bunch of subordinate Clauses.
  54.  
  55.  
  56.